import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import {
  Button,
  message,
  Carousel,
  Pagination,
  Form,
  Input,
  Radio,
  Cascader,
  Checkbox
} from 'ant-design-vue'
import './assets/iconfont/iconfont.css'
import 'ant-design-vue/dist/antd.css'
import './assets/style.css'
import './assets/common.scss'
import http from './http'
const app = createApp(App)
app.config.globalProperties.$http = http
app.config.productionTip = false
app.use(store)
/* Automatically register components under Button, such as Button.Group */
app.use(Button)
app.use(Carousel)
app.use(Pagination)
app.use(Form)
app.use(Input)
app.use(Radio)
app.use(Input)
app.use(Cascader)
app.use(Checkbox)
app.config.globalProperties.$message = message

app.use(router).mount('#app')

export default app
